<?php
	include(ROOTPATH .'include'. DS .'protect.php');
	include ROOTPATH .'include'. DS .'isMyQuery.php';
	include(ROOTPATH .'include'. DS .'checkUserLogin.php');
	$powder_min = 1 ;
	include(ROOTPATH .'include'. DS .'checkPowder.php');
	include(ROOTPATH .'class'. DS .'task.class.php');
	$task = new task ;
	$task_id			= getId('task_id');
	$file_id			= getId('file_id');
	$message			= getQuery('message');
	
	switch($do){
		case 'taskAttend'		: $task -> taskAttend($task_id,$file_id);
		break ;
		
		case 'taskCancel'		: $task -> taskCancel($task_id,$file_id,$message); exit();
		break ;
	}


	
	
?>